package com.gustuy.mapper;

import com.gustuy.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TeacherMapper {
    public Teacher getMyStudent(@Param("tid") int tid);
    @Select("select *from teacher")
    public List<Teacher> getAllTeacher();
}
